package test;

import java.awt.*;
import java.io.IOException;
import java.net.BindException;

public class ThrowsExceptionTest1 {
	void a() throws IOException, IllegalArgumentException {

	}

	void b() {
	}
}

class ThrowsExceptionTest1_1 extends ThrowsExceptionTest1 {
	/**
	 * 可以不throws 或者 throws 父类抛出的子类或者RuntimeException
	 */
	@Override
	void a() throws RuntimeException {

	}

}